linux shell统计文件中重复的行数,打印前十行
history | awk '{$1="";print $0;}' | sort | uniq -c | sort -n -k1 | tail -fn 10 ...
history | awk '{$1="";print $0;}' | sort | uniq -c | sort -n -k1 | tail -fn 10 ...